package com.fht.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @Description  
 * @Author  Hunter
 * @Date 2020-03-15 
 */

@Setter
@Getter
@ToString
@Entity
@Table ( name ="promotion_meal_hot_particulars" )
public class PromotionMealHotParticulars  implements Serializable {

	private static final long serialVersionUID =  8942914312601241717L;

	/**
	 * 主表ID
	 */
   	@Column(name = "id" )
	private String id;

	/**
	 * 菜品ID
	 */
   	@Column(name = "record_id" )
	private Integer recordId;

	/**
	 * 菜品名称
	 */
   	@Column(name = "record_name" )
	private String recordName;

	/**
	 * 售价
	 */
   	@Column(name = "price" )
	private Integer price;

   	@Transient
	private String priceString;

	/**
	 * 数量
	 */
   	@Column(name = "record_num" )
	private Integer recordNum;

	/**
	 * 合计
	 */
   	@Column(name = "total_price" )
	private Integer totalPrice;

   	@Transient
	private String totalPriceString;

}
